$(function(){
  var id = window.location.search.substr(4);
  console.log(id)
  $.ajax({
    type:"get",
    url:baseUrl+'hsent-xxyl-user/orderRefund/initOrderRefund',
    data:{
      orderId:id
    },
    success:function(res){
      console.log(res);
      var staff=JSON.parse(res.data.realServiceStatffs);
      console.log(staff);
      var data = {
          detailOrder:res.data,
          picUrl:picUrl,
          staff:staff
      };
      var listCon = template('test', data);
      document.getElementById('midbox').innerHTML = listCon;
    }
  })
})

function goTuikuan(id){
  console.log(11111);
  window.location.href='applyRefundTX.html?id='+id;
}
